namespace Clothes.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("CLLogin")]
    public partial class CLLogin : BaseContext
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public CLLogin()
        {
            CLUser = new HashSet<CLUser>();
            shopping = new HashSet<shopping>();
        }
        [Required]
        [StringLength(32)]
        public string UserName { get; set; }

        [Required]
        [StringLength(11)]
        public string MobileNumber { get; set; }

        [Required]
        [StringLength(50)]
        public string Password { get; set; }

        public int Manager { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<CLUser> CLUser { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<shopping> shopping { get; set; }
    }
}
